﻿using System;

namespace SXICE.DistributedCache
{
    /// <summary>
    /// Redis平滑实体
    /// </summary>
    public class RedisSlidingEntity<T>
    {
        /// <summary>
        /// 过期时间
        /// </summary>
        public TimeSpan? Expire { set; get; }

        /// <summary>
        /// 值
        /// </summary>
        public T Value { set; get; }
    }
}
